package com.szaupd.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * (QxData)实体类
 *
 * @author makejava
 * @since 2022-02-07 14:56:37
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Entity
// 实体类和表对应关系
@Table(name = "qx_data")
public class QxData implements Serializable {
    private static final long serialVersionUID = 466026694171770899L;

    @Id
    private Long id;
    /**
     * 1迁入来源地 2迁出目的地
     */
    private String direction;

    private Integer date;

    /**
     * 1城市级别  2省份级别
     */
    private String cityLevel;

    private String name;

    private Double value;

}